package com.gancp.common.util;

import org.apache.commons.lang3.StringUtils;

import java.util.Random;

/**
 * Created by GCP on 2018/1/24.
 */
public class RandomNumberCode {

    private RandomNumberCode() {
    }

    public static String verCode() {
        Random random = new Random();
        return StringUtils.substring( String.valueOf( random.nextInt() ), 2, 6 );
    }

}